﻿package com.cb.view.objectviews
{
	import flash.geom.Rectangle;
	import flash.display.Sprite;


	public class Wall2DView extends Sprite
	{
		public function Wall2DView(boxRect:Rectangle)
		{		
			this.graphics.beginFill(0x000000);
			
			this.graphics.drawRect(-boxRect.width / 2,-boxRect.height / 2,boxRect.width, boxRect.height);
			this.x = boxRect.x;
			this.y = boxRect.y;
		}

	}
}